package com.wemei.auto.ui.base

import androidx.lifecycle.ViewModel

open class BaseViewModel : ViewModel() {
    var mCleared = false
    override fun onCleared() {
        super.onCleared()
        mCleared = true
    }

    fun isCleared() = mCleared
}